home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Team 23
/
HS_Tuning.iso
/
Optimisation
/
JV16 Powertools 1.6
/
Setup.exe
/
{app}
/
Documentation
/
Example Scripts
/
4. Real world examples
/
Computer name.jvb
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2003-05-12
|
368 b
|
17 lines
ShowMessage This little script will test if your computer's name contains the letter A.;
Define computername;
computername := [hostname];
ShowMessage Your computer's name is $computername;
If ([sPos "a" $computername] > 0)
[
ShowMessage So, yes, it contains the letter A.;
] else
[
ShowMessage So, it doesn't contain the letter A.;
]
Terminate;